package com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.domain.ChatRoomEntity;
import com.domain.ChatUserRelaEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 聊天室房间人员表 Mapper 接口
 * </p>
 *
 * @author sly
 * @since 2023-12-30
 */
@Mapper
public interface ChatUserRelaMapper extends BaseMapper<ChatUserRelaEntity> {

    List<ChatRoomEntity> getUserChats(Long userId);

}
